﻿using System;

namespace NWebSockets
{
	public class WebSocketEventArgs : EventArgs
	{
		/// <summary>
		/// Default constructor
		/// </summary>
		public WebSocketEventArgs( string message )
		{
			// set the message
			this.Message = message;
		}

		/// <summary>
		/// The message received in the WebSocket
		/// </summary>
		public string Message { get; set; }
	}
}
